package com.liao.furns.utils;

import javax.servlet.http.HttpServletRequest;

/**
 * @author lzp
 * @version 1.0
 * lzpnb!
 */
public class WebUtils {
    public static boolean isAjaxRequest(HttpServletRequest request){
        return  "XMLHttpRequest".equals(request.getHeader("X-Requested-With"));
    }

    public static String FURN_IMG_PATH = "assets/images/product-image";
}
